home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
001a
/
ezzcomm.zip
/
ADDDL.T
next >
Wrap
Text File
|
1991-02-16
|
4KB
|
71 lines
: EZ-ZCOMM Copyright 1991 by Roger E. Hough, All Rights Reserved.
: Licensed for use at your own risk without fee. Altered versions,
: when distributed, must be clearly marked as altered and accompanied
: by the originals.
if !f%lib/%ZCUSER.ids;kill;create %lib/%ZCUSER.ids;nolog close
tof:
display inhibit;open -!g %phones;display noinhibit;if t nolog
set s0 ,pcboard,rbbs,wildcat,rain,forumpc,odyssey,genesis,
tofu: set s1 "";while "t&&!js1,:~" grab s1
if t split s1 " " / . "";obey "set? z9 \042js0,,%z2,\042";p?0 ife iz9,1 findq "\n%z0," %lib/%ZCUSER.ids;if !? goback tofu
if t goto havepg
lput "\E[0m\E[2J\E[37;44mUnable to Locate Entries\E[m\r\n\n"
return
nextpg: set s0 ,pcboard,rbbs,wildcat,rain,forumpc,odyssey,genesis,
lookn1: set s1 "";while "t&&!js1,:~" grab s1
if t split s1 " " / . "";obey "set? z9 \042js0,,%z2,\042";p?0 ife iz9,1 findq "\n%z0," %lib/%ZCUSER.ids;if !? goback lookn1
if !t goback tof
havepg: set s2 "";while "t&&!js2,:~" grab s2
if t split s2 " " / . "";obey "set? z9 \042js0,,%z2,\042";p?0 ife iz9,1 findq "\n%z0," %lib/%ZCUSER.ids;if !? goback havepg
lookn3: set s3 "";while "t&&!js3,:~" grab s3
if t split s3 " " / . "";obey "set? z9 \042js0,,%z2,\042";p?0 ife iz9,1 findq "\n%z0," %lib/%ZCUSER.ids;if !? goback lookn3
lookn4: set s4 "";while "t&&!js4,:~" grab s4
if t split s4 " " / . "";obey "set? z9 \042js0,,%z2,\042";p?0 ife iz9,1 findq "\n%z0," %lib/%ZCUSER.ids;if !? goback lookn4
lookn5: set s5 "";while "t&&!js5,:~" grab s5
if t split s5 " " / . "";obey "set? z9 \042js0,,%z2,\042";p?0 ife iz9,1 findq "\n%z0," %lib/%ZCUSER.ids;if !? goback lookn5
lookn6: set s6 "";while "t&&!js6,:~" grab s6
if t split s6 " " / . "";obey "set? z9 \042js0,,%z2,\042";p?0 ife iz9,1 findq "\n%z0," %lib/%ZCUSER.ids;if !? goback lookn6
lookn7: set s7 "";while "t&&!js7,:~" grab s7
if t split s7 " " / . "";obey "set? z9 \042js0,,%z2,\042";p?0 ife iz9,1 findq "\n%z0," %lib/%ZCUSER.ids;if !? goback lookn7
lookn8: set s8 "";while "t&&!js8,:~" grab s8
if t split s8 " " / . "";obey "set? z9 \042js0,,%z2,\042";p?0 ife iz9,1 findq "\n%z0," %lib/%ZCUSER.ids;if !? goback lookn8
lookn9: set s9 "";while "t&&!js9,:~" grab s9
if t split s9 " " / . "";obey "set? z9 \042js0,,%z2,\042";p?0 ife iz9,1 findq "\n%z0," %lib/%ZCUSER.ids;if !? goback lookn9
listpg:
lput "\E[0m\E[2J\E[37;44mChoose One of the Following to Download a File From:\E[m\r\n\n"
if %s1 split s1 "~" "~" "";lput " 1 \T%z1";lput \r\n
if %s2 split s2 "~" "~" "";lput " 2 \T%z1";lput \r\n
if %s3 split s3 "~" "~" "";lput " 3 \T%z1";lput \r\n
if %s4 split s4 "~" "~" "";lput " 4 \T%z1";lput \r\n
if %s5 split s5 "~" "~" "";lput " 5 \T%z1";lput \r\n
if %s6 split s6 "~" "~" "";lput " 6 \T%z1";lput \r\n
if %s7 split s7 "~" "~" "";lput " 7 \T%z1";lput \r\n
if %s8 split s8 "~" "~" "";lput " 8 \T%z1";lput \r\n
if %s9 split s9 "~" "~" "";lput " 9 \T%z1";lput \r\n
lput \r\n
lput " n Next screen of selections\r\n"
lput " x Exit from Download List Menu\r\n"
acceptl1 s0 "\n\E[7mYour Selection:\E[m "
if is0,x ife t nolog closetx;return
if is0,n ife t goback nextpg;goback tof
else if is0,1 sets s0 %s1
else if is0,2 sets s0 %s2
else if is0,3 sets s0 %s3
else if is0,4 sets s0 %s4
else if is0,5 sets s0 %s5
else if is0,6 sets s0 %s6
else if is0,7 sets s0 %s7
else if is0,8 sets s0 %s8
else if is0,9 sets s0 %s9
else set s0 ""
if !%s0 lput "\r\nInvalid Request\r\n";gosub ak;goback listpg
split s0 " " "/" "." "~" "~" ""
if iz2,pcboard gosub top.%lib/adddlstd.t;goback listpg
if iz2,rbbs gosub top.%lib/adddlstd.t;goback listpg
if iz2,wildcat gosub top.%lib/adddlstd.t;goback listpg
if iz2,rain gosub top.%lib/adddlstd.t;goback listpg
if iz2,forumpc gosub top.%lib/adddlnum.t;goback listpg
if iz2,odyssey gosub top.%lib/adddlnum.t;goback listpg
lput "\r\nUnable to Create Entry for This Board\r\n"
gosub ak;goback listpg